#include <iostream>
#include <set>
#include <vector>

using namespace std;

int main() {
    set<double> input;
    input.insert(5);
    input.insert(6);

    vector<double> output;
    copy(input.begin(), input.end(), back_inserter(output));

    for (vector<double>::iterator it = output.begin(); it != output.end(); ++it) {
        cout << *it << "\t";
    }
    cout << endl;
}
